package com.hao.crm.service;

import java.util.List;

import com.hao.crm.domain.Employee;
import com.hao.crm.page.PageResult;
import com.hao.crm.query.QueryObject;

public interface IEmployeeService {
	int delete(Long id);

    int insert(Employee e);

    Employee get(Long id);

    List<Employee> selectAll();

    int update(Employee e);
    PageResult selectByCondition(QueryObject qo);

	Employee selectBylogin(String username, String password);

	int updateState(Long id);
}
